import { createStore } from 'vuex'
import mutations from "./mutations.js"

const state = {
	user:{
		isLogin:window.localStorage.getItem("token")?true:false,
		name:window.localStorage.getItem("name")?window.localStorage.getItem("name"):"",
	}
}

export default createStore({
  state,
  getters: {
  },
  mutations,
  actions: {
  },
  modules: {
  }
})